/**
 *WangGANG
 *2018/9/30
 */
package main

import (
	"bean"
	"encoding/json"
	"tool"
	"fmt"
)

func main() {
	var s bean.ServersJson
	s.Name = "ssssss"
	s.Servers = append(s.Servers,bean.ServerJson{ServerName:"shanghai_VPN",ServerIP:"127.0.0.1"})
	s.Servers = append(s.Servers,bean.ServerJson{ServerName:"Beijing_VPN", ServerIP: "127.0.0.2"})
	b,err := json.Marshal(s)
	tool.ErrTest(err)
	fmt.Println(string(b))
}